home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Otherware
/
Otherware_1_SB_Development.iso
/
mac
/
misc
/
math
/
lifemake.cpt
/
LifeMaker Demo.rsrc
/
LIF2_5716_Parity
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1991-07-16
|
197 b
|
7 lines
RULE Parity
VAR new
BEGIN
new := center[0] XOR north[0] XOR NE[0] XOR NW[0] XOR south[0] XOR east[0] XOR west[0] XOR SW[0] XOR SE[0]
IF center[0] THEN new := new + 2 END
RETURN new
END